package com.example.demo.service;


import com.example.demo.domain.Volunteer;

import java.util.List;

public interface VolunteerService {
    int addVolunteer(Volunteer volunteer);
    int deleteVolunteer(Integer id);
    Volunteer selectVolunteer(Integer volunteer_id);
    int updateVolunteer(Volunteer volunteer);
    List<Volunteer> findAll();
    int selectAge(Integer min,Integer max);
}
